//logs.js
const util = require('../../utils/util.js')

Page({
  onLoad: function (options) {
    console.log("onLoad");
  },
  onReady: function () {
    console.log("onReady");
    console.log(getCurrentPages());
  },
  onShow: function () {
    console.log("onShow");
  },
  onHide: function () {
    console.log("onHide");
  },
  onUnload: function () {
    console.log("onUnload");
  },
  onPullDownRefresh: function () {
    console.log("onPullDownRefresh");
  },
  onReachBottom: function () {
    console.log("onReachBottom");
  },
  onShareAppMessage: function () {
    console.log("onShareAppMessage");
  },
  onPageScroll: function (x) {
    // console.log("onPageScroll", x.scrollTop);
  },
  onTabItemTap(item) {
    console.log(item.index)
    console.log(item.pagePath)
    console.log(item.text)
  },

})
